<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?= $row->name ?>(<?= $row->age ?>岁) - <?= $row->title ?> - 武汉首届幼儿达人秀 - 宝宝展示</title>
<meta name="keywords" content="<?= $row->name ?>,<?= $row->title ?>,幼儿达人秀,巢上城" />
<meta name="author" content="<?= $row->name ?>" />
<link href="/src/vote/1/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/src/jquery.js"></script>
<script type="text/javascript" src="/src/jquery.web.js"></script>
</head>
<body>
<div class="wrap2">
<?php $this->load->view('header');?>
	<div class="area">
		<div class="show">
			<div class="inner1">
				<div class="inner2" id="ShowBox">
					<div class="tt">
						<div class="text-title"><h2><?= $row->name ?><span><?= $row->age ?>岁</span></h2></div>
						<div class="guide">
							<div class="ga gl"><?php if ( $prev !='' ):?><a href="http://darenshow.lovenest.cn/work/show/<?= $prev ?>#ShowBox">&lt;&lt;上个作品</a><?php endif;?></div>
							<div class="ga gr"><?php if ( $next !='' ):?><a href="http://darenshow.lovenest.cn/work/show/<?= $next ?>#ShowBox">下个作品&gt;&gt;</a><?php endif;?></div>
						</div>
						<div class="vote"><a href="javascript:void(0);" onclick="vote('<?= $row->id ?>');" title="投我一票" id="VoteCont"><?= $row->cont ?></a></div>
					</div>
					<div class="page-content">
						<div class="text work-show">
							<h2>[<?= ($row->type == 0)?'视频':'图片' ?>]<?= $row->title ?></h2>
							<?php
								if ( $row->type == 0 ):
									if ( preg_match("/id_(.*?)\.html/i", $row->content, $video_url) ) {
										$video_url = $video_url[1];
									}else{
										$video_url = '';
									}
							?>
							<div class="video" id="VideoShow">
								<embed src="http://player.youku.com/player.php/sid/<?= $video_url ?>/v.swf" allowFullScreen="true" quality="high" width="610" height="500" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash"></embed>
							</div>
							<?php elseif( $row->type == 1 ):?>
							<div class="photo" id="PhotoShow">
								<?= $row->content ?>
							</div>
							<script type="text/javascript">resize();</script>
							<?php endif;?>
							<?php if ( $row->summary != "" ): ?>
							<div class="summary"><?= $row->summary ?></div>
							<?php endif;?>
							<div class="time">上传于 <?= $row->addtime ?></div>
							<div class="share">
								<h5>分享作品到更多网站，获得更多投票机会！</h5>
	<!-- Baidu Button BEGIN -->
	<div id="bdshare" class="bdshare_t bds_tools_32 get-codes-bdshare">
		<a class="bds_qzone"></a>
		<a class="bds_tsina"></a>
		<a class="bds_tqq"></a>
		<a class="bds_renren"></a>
		<span class="bds_more">更多</span>
	</div>
	<script type="text/javascript" id="bdshare_js" data="type=tools&amp;uid=113723" ></script>
	<script type="text/javascript" id="bdshell_js"></script>
	<script type="text/javascript">
	document.getElementById("bdshell_js").src = "http://bdimg.share.baidu.com/static/js/shell_v2.js?t=" + new Date().getHours();
	</script>
	<!-- Baidu Button END -->
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
<?php $this->load->view('footer');?>
</body>
</html>